package com.rgs.base.core.function;

/**
 * @author Ren Gaoshuai
 * @ClassName CheckFunction
 * @date 2022-03-08 16:21
 **/
@FunctionalInterface
public interface CheckFunction<T, R> {
    /**
     * 执行
     *
     * @param t
     * @return
     * @throws Exception
     */
    R apply(T t) throws Exception;
}
